HYRAX-1964: Make non-static tarballs for rocky8 and rocky9#97
HYRAX-1964: Make non-static tarballs for rocky8 and rocky9#97hannahilea merged 10 commits intomasterfrom
Conversation
| - tar -C $HOME -czvf $TRAVIS_BUILD_DIR/package/hyrax-dependencies-build.tar.gz install | ||
| - ./travis/check-installed $EXPECTED_DEPS_COUNT | ||
|
|
||
| # mkdir returns true if the directory already exists. This dir is used in 'before_deploy'. |
There was a problem hiding this comment.
Wellll this all showed up oddly in gitthub formatting, but if you squint you can see that I kept the original two build jobs; renamed them, their ARTIFACT env var, and their build scripts to "*-static"; and then added duplicate non-static jobs (with associated non-static scripts).
| @@ -0,0 +1,83 @@ | |||
| #!/bin/sh | |||
There was a problem hiding this comment.
Copied from previous build-for-rocky9.sh
| @@ -0,0 +1,85 @@ | |||
| #!/bin/sh | |||
There was a problem hiding this comment.
Copied from previous build-for-rocky8.sh
| - echo "# ubuntu-focal - Expecting to build and install $EXPECTED_DEPS_COUNT dependencies." >&2 | ||
| - export prefix=$HOME/install | ||
| - echo "# ubuntu-focal - prefix '$prefix'" >&2 | ||
| - export extra_targets="aws_s2n_tls" |
There was a problem hiding this comment.
this was supposed to be removed via #96 but I must have missed it (or borked a merge somewhere...)
ndp-opendap
left a comment
There was a problem hiding this comment.
woooo! dynamic libs! woooooo!
| - docker run | ||
| --env prefix=/root/install | ||
| --env BUILD_NUMBER="$TRAVIS_BUILD_NUMBER" | ||
| --volume $install_dir:/root/install | ||
| --volume $TRAVIS_BUILD_DIR:/root/hyrax-dependencies | ||
| opendap/rocky8_hyrax_builder:latest | ||
| /root/hyrax-dependencies/travis/build-for-rocky8-static.sh | ||
| - export tarball_numbered="$TRAVIS_BUILD_DIR/package/hyrax-dependencies-$ARTIFACT-static-$TRAVIS_BUILD_NUMBER.tgz" | ||
| - echo "# $ARTIFACT - tarball_numbered '$tarball_numbered'" >&2 | ||
| - export tarball_latest="$TRAVIS_BUILD_DIR/package/hyrax-dependencies-$ARTIFACT-static.tgz" | ||
| - echo "# $ARTIFACT - tarball_latest '$tarball_latest'" >&2 | ||
| - mkdir -vp $TRAVIS_BUILD_DIR/package | ||
| - tar -C "$HOME/$ARTIFACT/" -czvf "$tarball_numbered" install | ||
| - cp -v "$tarball_numbered" "$tarball_latest" | ||
| - ./travis/check-installed $EXPECTED_DEPS_COUNT | ||
| - ls -l $TRAVIS_BUILD_DIR/package/ |
There was a problem hiding this comment.
no changes as compared to the original rocky8 job EXCEPT to rename the build script being used to build-for-rocky8-static.sh (instead of build-for-rocky8.sh). Ditto for rocky9.
Merge block: wait until #95 and #96 merge down first.